 <!--# ПРОТОКОЛ ИЗМЕРЕНИЙ -->
Контурограф м.220
<table style="table-layout: fixed; border-collapse:collapse;" width ="100%" border="1px">
<tr>
    <th style ="word-wrap:break-word; font-size: 20px" width="30%" scope="col">{{factory_name}}</th><!--<img src="//C:/Users/SergeiMerkulov/Desktop/proton.png" width="40" height="30"/></th>-->
    <th style ="word-wrap:break-word; font-size: 35px" width="70%" scope="col">{{part_name}}</th>
</tr>

<table style="table-layout: fixed; border-collapse:collapse;" width ="100%" border="1px">
<tr>
    <th style ="word-wrap:break-word" width="20%" scope="col">{{date}}</th>
    <th style ="word-wrap:break-word" width="30%" scope="col">Контролёр</th>
    <th style ="word-wrap:break-word" width="50%" scope="col">{{controller_name}}</th>
</tr>
{% if length(default(traces,[])) > 0 %}
{% for trace in traces %}
<tr>
    <th style ="word-wrap:break-word" width="20%" scope="col">{{trace.creation_date}}</th>
    <th style ="word-wrap:break-word" width="30%" scope="col">Трасса {{trace.id}}</th>
    <th style ="word-wrap:break-word" width="50%" scope="col">{{trace.trace_author}}</th>
</tr>
{% endfor %}
{% endif %}
</table>
Комментарий: {{comment}}

![](data:image/png;base64,{{first(imgs)}}){ width=100% }
{% if length(default(distances,[])) > 0 %}
<table width ="100%">
<tr>
<th valign=top>
<table style="border-collapse:collapse;" width="100%" border="1px">
  {% for g in distances %}
  <tr>
    <th scope="col">{{g.name}}</th>
  </tr>
  {% for m in g.measurements %}
  <tr>
    <th scope="col">{{m.name}}</th>
    <th scope="col">{{m.value}}</th>
  </tr>
  {% endfor %}{% endfor %}
</table>
{% endif %}
</th>

<th valign=top>
{% if length(default(errors,[])) > 0 %}
<table style="border-collapse:collapse;" width="100%" border="1px">
  {% for g in errors %}
  <tr>
    <th scope="col">{{g.name}}</th>
  </tr>
  {% for m in g.measurements %}
  <tr>
    <th scope="col">{{m.name}}</th>
    <th scope="col">{{m.value}}</th>
  </tr>
  {% endfor %}{% endfor %}
</table>
{% endif %}
</th>

<th valign=top>
{% if length(default(angles,[])) > 0 %}
<table style="border-collapse:collapse;" width="100%" border="1px">
  {% for g in angles %}
  <tr>
    <th scope="col">{{g.name}}</th>
  </tr>
  {% for m in g.measurements %}
  <tr>
    <th scope="col">{{m.name}}</th>
    <th scope="col">{{m.value}}</th>
  </tr>
  {% endfor %}{% endfor %}
</table>
{% endif %}
</th>

<th valign=top>
{% if length(default(rads,[])) > 0 %}
<table style="border-collapse:collapse;" width="100%" border="1px">
  {% for g in rads %}
  <tr>
    <th scope="col">{{g.name}}</th>
  </tr>
  {% for m in g.measurements %}
  <tr>
    <th scope="col">{{m.name}}</th>
    <th scope="col">{{m.value}}</th>
  </tr>
  {% endfor %}{% endfor %}
</table>
{% endif %}
</th>

<th valign=top>
{% if length(default(roughness,[])) > 0 %}
<table style="border-collapse:collapse;" width="100%" border="1px">
  {% for g in roughness %}
  <tr>
    <th scope="col">{{g.name}}</th>
  </tr>
  {% for m in g.measurements %}
  <tr>
    <th scope="col">{{m.name}}</th>
    <th scope="col">{{m.value}}</th>
  </tr>
  {% endfor %}{% endfor %}
</table>
{% endif %}
</th>
</tr>
</table>
